package com.ada.threads;

import java.math.BigDecimal;

public class Work1 implements Work {
    @Override
    public <T> T work() {

        return (T) null;
    }

    public static void main(String[] args) {
        Work1 work1 = new Work1();
        Object o = work1.<String>work();
        System.out.println(o.getClass());
        work1.showNum((Long) null);
    }
    public void showNum(Long num){
        System.out.println("showLong");
    }
    public void showNum(BigDecimal num){
        System.out.println("showLong");
    }
}
